<template>
	<view>
		<div class="header">
			<div class="back center" @click="back">
				<image src="/static/icon/back.png" mode="widthFix" class="w-20"></image>
			</div>
			{{title}}
		</div>
	</view>
</template>

<script>
	export default {
		props: ["title"],
		data() {
			return {
				
			}
		},
		methods: {
			back() {
				// uni.navigateBack()
				this.cback()
			},
		}
	}
</script>

<style>
	.header {
		font-size: 34rpx;
		height: 100rpx;
		line-height: 100rpx;
		font-weight: 500;
		text-align: center;
		position: relative;
		padding-top: var(--status-bar-height);
	}
	.back {
		position: absolute;
		width: 70rpx;
		height: 70rpx;
		top: 15rpx;
	}
</style>
